home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #2
/
Amiga Plus CD - 2004 - No. 02.iso
/
AmiSoft
/
Util
/
conv
/
MIDI2asm.lha
/
MIDI2asm
/
asm2MIDI.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
2004-01-10
|
362b
|
13 lines
/* $VER: asm2MIDI 1.0 $
* Convert assembler source to MIDI data
* © by Stefan Haubenthal 1998/99 */
address command "genam quiet" arg(1)
if rc>0 then exit rc
call open(exe,arg(1))
len=seek(exe,-36,E)
call seek(exe,32,B)
call open(midi,arg(1)".mid",W)
call writech(midi,strip(readch(exe,len),T,'00'x)'00'x)
call close(exe)
address command "delete quiet" arg(1)